package com.mdxl.importMdxlBean;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * Created by chengjian on 2017/9/12.
 */
@Configuration
@Data
@ConfigurationProperties(prefix = "com.xiaoneng")
@PropertySource(value = "classpath:config/mdxl.properties")
@EqualsAndHashCode(callSuper = false)
public class ProBean {
    public static final long serialVersionUID =1L;
    private String city;
    private int number;
    private String address;
}
